package com.woniu.core.exception.order;

public enum OrderExceptionCode {


    ADD_ORDER_EXIST(5001,"订单创建失败，请重试"),
    ORDER_HANDLE(5002,"订单已处理，无需操作"),
    ORDER_NOT_EXIST(5003,"订单不存在");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
    OrderExceptionCode(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
